package com.karson.service.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.karson.common.model.Author;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.karson.common.response.AuthorResponse;
import com.karson.common.vo.AuthorTempVo;

import java.util.List;

/**
* @author ZKS
* @description 针对表【ar_author(作者表)】的数据库操作Mapper
* @createDate 2025-07-27 14:41:53
* @Entity com.karson.common.model.Author
*/
public interface AuthorMapper extends BaseMapper<Author> {

    IPage<AuthorResponse> getPageList(IPage<AuthorResponse> authorInfoPage);

    AuthorTempVo getAuthorById(Integer authorId);

    List<AuthorResponse> getAuthorsByAlbumId(Integer albumId);
}




